package com.example.iot.service;

import com.example.iot.pojo.IotDataObj;
import com.example.iot.pojo.jsonobj;
import com.example.iot.util.R;
import java.io.IOException;

/**
 * @author : Lin
 * @version : [v1.0]
 * @className : IotDataService
 * @description : 描述说明该类的功能
 * @createTime : 2023/7/2 17:30
 * @updateUser : Lin
 * @updateTime : 2023/7/2 17:30
 * @updateRemark : 描述说明本次修改内容
 */

public interface IotDataService {
    public String RefreshToken(String name,String iamname,String pwd) throws IOException;

    public jsonobj.DeviceData GetAttributesFromPlatformByDeviceId(String deviceid) throws IOException;

    public R GetSensorData() throws IOException;

    public void AddIotData(IotDataObj iotData);
    public R ListAllIotData();
}
